﻿<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
    <title>@ViewBag.Title</title>
    <meta http-equiv="Content-Language" content="ru">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link href="@Url.Content("~/Content/themes/redmond/jquery-ui-1.8.14.custom.css")" rel="stylesheet" type="text/css" />
  
    <link href="@Url.Content("~/Content/template/reset.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/template/layout.css")" rel="stylesheet" type="text/css" />    
    <link href="@Url.Content("~/Content/template/style.css")" rel="stylesheet" type="text/css" />
    
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>	
    <script src="@Url.Content("~/Scripts/jquery-1.6.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Template/loopedslider.0.5.4.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Template/cufon-yui.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Template/Myriad_Pro_700.font.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Template/script.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Template/flashobject.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Template/imagepreloader.js")" type="text/javascript"></script>    
    <script src="@Url.Content("~/Scripts/Template/cufon-replace.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DropDownMenu.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.14.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.ui.datepicker-ru.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/EditorHookup.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/swfobject.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.imgCenter.minified.js")" type="text/javascript"></script>    
  	<script type="text/javascript">
  	    var flashvars = {
  	        ext: ".htm&amp",
  	        m: "3aef64613c1543a9b06521fc4f76c036&amp",
  	        lang: "en&amp",
  	        server: "http://www.mindomo.com/&amp;embed=0"
        };
  	    var params = {
            allowFullScreen: "true"
        };
  	    var attributes = {};
  	    swfobject.embedSWF("http://www.mindomo.com/MindomoViewer_v.6.64.swf?lpr8STre", "flashContent", "912", "540", "9.0.0", "../../Content/expressInstall.swf", flashvars, params, attributes);
	</script>
  @*Target IE 8 and LOWER*@        
  <!--[if lt IE 9]>
    <script type="text/javascript" src="http://info.template-help.com/files/ie6_warning/ie6_script_other.js"></script>
  	<script type="text/javascript" src="js/html5.js"></script>
  <![endif]-->
   
</head>

<body>
     <div class="main">      
        <header>
        <div class="wrapper">            
            <div class="right">
                <nav>
                    <ul id="top_nav">
                        <li>@Html.Partial("_LogOnPartial")</li>
                    </ul>
                </nav>
            </div>
            <a href="/" id="logo"></a><span id="slogan">Христианская баскетбольная лига</span>
        </div>
            <nav>
                <ul id="menu">
                    <li class="topLevel"><span><span>@Html.ActionLink("Главная", "Index", "Home")</span></span></li>
                    @*<li class="topLevel"><span><span>@Html.ActionLink("Команды", "Index", "Team")</span></span></li>                    
                    <li class="topLevel"><span><span>@Html.ActionLink("Сезоны", "Index", "Season")</span></span></li>*@
                    <li class="topLevel"><span><span>@Html.ActionLink("Фотоальбомы", "GetPhotoView", "PhotoAlbum")</span></span></li>
                    <li class="topLevel"><span><span>@Html.ActionLink("Файлы", "GetFilesView", "PhotoAlbum")</span></span></li>
                     <li class="topLevel"><span><span><a href="#">Отборы</a></span></span>
                        <ul>
                            <li class="Level2">@Html.ActionLink("2011", "Index", "Qualification")</li>
                        </ul>
                    </li> 
                    <li class="topLevel"><span><span>@Html.ActionLink("Нормативная база", "GetAlbumView", "PhotoAlbum", new { albumId = 11 }, null)</span></span>
                        <ul>
                            <li class="Level2">@Html.ActionLink("Положения ХБЛ", "DownloadMediaObject", "File", new { id = 204 }, null)</li>
                            <li class="Level2">@Html.ActionLink("Официальные правила ФИБА", "DownloadMediaObject", "File", new { id = 205 }, null)</li>
                        </ul>
                    </li>
                    <li class="topLevel"><span><span>@Html.ActionLink("Контакты", "Contacts", "Home")</span></span></li>
                    @if (Request.IsAuthenticated & @User.IsInRole("admin"))
                    { 
                    <li class="topLevel"><span><span><a href="#">Администратор</a></span></span>
                        <ul>
                            <li class="Level2">@Html.ActionLink("Настройки", "Index", "AdminSettings")</li>
                            <li class="Level2">@Html.ActionLink("Статьи", "Index", "Article")</li>
                            <li class="Level2">@Html.ActionLink("Дивизионы", "Index", "AdminDivision")</li>
                            <li class="Level2">@Html.ActionLink("Сезоны", "Index", "AdminSeason")</li>
                            <li class="Level2">@Html.ActionLink("Сезоны/Дивизионы", "Index", "AdminSeasonDivision")</li>
                            <li class="Level2">@Html.ActionLink("Команды", "Index", "AdminTeam")</li>
                            <li class="Level2">@Html.ActionLink("Игроки", "Index", "AdminPlayer")</li>
                            <li class="Level2">@Html.ActionLink("Игроки/Команды", "Index", "AdminTeamPlayer")</li>
                            <li class="Level2">@Html.ActionLink("Игры", "Index", "AdminGame")</li>
                            
                        </ul>
                    </li>
                    }

                </ul>
            </nav>
         </header>
         <section id="content">  
            @RenderBody()   
        </section>
        @Html.Partial("_Footer")
        </div>
    <script type="text/javascript">Cufon.now(); </script>
</body>
</html>
